package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;

import org.codehaus.jackson.annotate.JsonIgnore;


/**
 * The persistent class for the health_card_dependent_tbl database table.
 * 
 */
@Entity
@Table(name="health_card_dependent_tbl")
public class HealthCardDependent extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="DEP_CODE")
	private int depCode;

	@Column(name="DEP_FST_NAME")
	private String depFstName;

	@Column(name="DEP_HLTH_CARD_NO")
	private String depHlthCardNo;

	@Column(name="DEP_HLTH_CARD_PREM")
	private String depHlthCardPrem;

	@Column(name="DEP_LST_NAME")
	private String depLstName;

	//bi-directional many-to-one association to Employee
	@ManyToOne
	@JoinColumn(name="EMP_ID_NO")
	private Employee employee;

	public HealthCardDependent() {
	}

	public int getDepCode() {
		return this.depCode;
	}

	public void setDepCode(int depCode) {
		this.depCode = depCode;
	}

	public String getDepFstName() {
		return this.depFstName;
	}

	public void setDepFstName(String depFstName) {
		this.depFstName = depFstName;
	}

	public String getDepHlthCardNo() {
		return this.depHlthCardNo;
	}

	public void setDepHlthCardNo(String depHlthCardNo) {
		this.depHlthCardNo = depHlthCardNo;
	}

	public String getDepHlthCardPrem() {
		return this.depHlthCardPrem;
	}

	public void setDepHlthCardPrem(String depHlthCardPrem) {
		this.depHlthCardPrem = depHlthCardPrem;
	}

	public String getDepLstName() {
		return this.depLstName;
	}

	public void setDepLstName(String depLstName) {
		this.depLstName = depLstName;
	}

	@JsonIgnore
	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

}